package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "司机查询")
public class DriverQueryWrapper extends Page<DriverQueryWrapper> {
    public DriverQueryWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "多个司机ID")
    private List<Long> ids;

    @ApiModelProperty(value = "多个姓名")
    private List<String> names;

    @ApiModelProperty(value = "多个手机号码")
    private List<String> mobileNumbers;

    @ApiModelProperty(value = "司机单个条件查询,姓名,手机,车牌号")
    private String driverSingle;

    @ApiModelProperty(value = "行政区ID")
    private Long cantonId;

    @ApiModelProperty(value = "选中的公司ID")
    private List<Long> companyId;

    @ApiModelProperty(value = "行政区IDs")
    private List<Long> cantonIds;

    @ApiModelProperty(value = "是否激活")
    private Boolean isActive;

    @ApiModelProperty(value = "是否离职")
    private Boolean isLeave;

    @ApiModelProperty(value = "是否在线")
    private Boolean inService;

    private String identityNumber;
    private String qualificationCertificateNumber;


    private String name;
}
